package club.pchome.dao;

import club.pchome.model.TRefereeRelation;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/** 推荐关系表**/
@Repository
public interface TRefereeRelationDao extends BaseDao<TRefereeRelation>{


	public Long selectridforuid(Long userId);
	
	public Integer selecttjcountforreid(Long userId);
	
	public List<Long> selectuidforrid(Long id);
	public Integer selectymytjzj(TRefereeRelation tRefereeRelation);
	
	public List<Integer> selectallztdjfortjuserid(Long userId);
}